package nettypro.netty.dubborpc.provider;

import nettypro.netty.dubborpc.publicinterface.HelloService;

/**
 * @ClassName HelloServiceImpl
 * @Description TODO
 * @Author zeny
 * @Date 2020/3/27 0027 18:36
 */
public class HelloServiceImpl implements HelloService {
    @Override
    public String hello(String message) {
        System.out.println("收到客户端消息=" + message);
        if (message != null) {
            return "您好客户端，我已经收到消息[" + message + "]";
        }else {
            return "您好客户端，我已经收到消息";
        }
    }
}
